package com.riven.bilibilidemo.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebBackForwardList;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.riven.bilibilidemo.R;

public class Zhibo_Banner_connect extends AppCompatActivity {

    private WebView wv;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_zhibo__banner_connect);
        Intent intent = getIntent();
        String url = intent.getStringExtra("url");
        wv = (WebView) findViewById(R.id.WV);
        wv.loadUrl(url);
      /*  wv.setWebViewClient(new WebViewClient(){
            public boolean shouldOverrideUrlLoading(WebView view, String url) {

                wv.loadUrl(url);
                return false;
            }
            });*/
    }
}
